namespace Text2Rss.Web.Code
{
	/// <summary>
	/// Entitiy with assignable id
	/// </summary>
	/// <typeparam name="TId">identificator type</typeparam>
	public interface IHaveAssignedId<in TId>
	{
		/// <summary>
		/// Sets id of the entity
		/// </summary>
		/// <param name="id">New id of the entity</param>
		void SetId(TId id);
	}
}
